package com.example.riceexambackend.dao.dataobject;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@TableName("t_question")
public class QuestionDO extends BaseDO {
    private String questionName; // 题目名称
    private String optionA; // 选项A
    private String optionB; // 选项B
    private String optionC; // 选项C
    private String optionD; // 选项D
    private String rightAnswer; // 正确答案
    private Long questionTypeId; // 关联题型ID
    private QuestionTypeDO questionType; // 关联题型ID
    private Long uploadUserId; // 关联题型ID
    private UserDO uploadUser; // 关联题型ID
    private Byte questionStatus; // 题目状态
    private byte deleteFlag; // 逻辑删除字段
}
